﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using A2DFramework.CacheService.CacheProvider.LocalCache;

namespace A2DFramework.CacheService.Configuration
{
    public class Storage
    {
        public Storage()
        {
            this.DistributedCacheSetting_PeerCacheServers = new List<CacheServerInfo>();
        }

        public string Location { get; set; }
        public StorageScope Scope { get; set; }
        public CacheType LocalCacheSetting_CacheAlgorithm { get; set; }
        public int LocalCacheSetting_CacheCapacity { get; set; }
        public int DistributedCacheSetting_MaxCacheEntitySize { get; set; }
        public List<CacheServerInfo> DistributedCacheSetting_PeerCacheServers { get; set; }
        public CacheServerInfo DistributedCacheSetting_BackupCacheServer { get; set; }
    }
}
